package io.renren.modules.canteens.service;

import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.modules.canteens.dto.FoodDTO;
import io.renren.modules.canteens.entity.FoodEntity;

import java.util.List;
import java.util.Map;

/**
 * 食材表（辅材共用）
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-11-22
 */
public interface FoodService extends CrudService<FoodEntity, FoodDTO> {
    FoodDTO getName(String name);
    PageData<FoodDTO> getFood(Map<String, Object> params);
    List<FoodDTO> getLikeName(String name);
}